//---------------------------------------------------------------------------

#ifndef Fr_PriborH
#define Fr_PriborH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "cxContainer.hpp"
#include "cxControls.hpp"
#include "cxEdit.hpp"
#include "cxGraphics.hpp"
#include "cxGroupBox.hpp"
#include "cxLookAndFeelPainters.hpp"
#include "cxLookAndFeels.hpp"
#include <DB.hpp>
#include <DBCtrls.hpp>
#include <Mask.hpp>
#include "DBAccess.hpp"
#include "IBC.hpp"
#include "MemDS.hpp"
//---------------------------------------------------------------------------
class TFrame_Pribor : public TFrame
{
__published:	// IDE-managed Components
	TcxGroupBox *gbPrib;
	TLabel *Label1;
	TDBLookupComboBox *cbTIP;
	TLabel *Label2;
	TDBLookupComboBox *cbVID;
	TLabel *Label3;
	TDBLookupComboBox *cbMARKA;
	TLabel *Label4;
	TDBLookupComboBox *cbMODEL;
	TIBCQuery *dsetTIP;
	TIBCQuery *dsetVID;
	TIBCQuery *dsetMarka;
	TIBCQuery *dsetMODEL;
	TIBCDataSource *dsTIP;
	TIBCDataSource *dsVID;
	TIBCDataSource *dsMarka;
	TIBCDataSource *dsMODEL;
	TIBCQuery *dsetZAPOLN;
	TIBCDataSource *dsZAPOLN;
	void __fastcall cbTIPClick(TObject *Sender);
	void __fastcall cbVIDClick(TObject *Sender);
	void __fastcall cbMARKAClick(TObject *Sender);
private:	// User declarations
public:		// User declarations
int Stat,KART_ABON;
	__fastcall TFrame_Pribor(TComponent* Owner);
	void __fastcall TFrame_Pribor::Prepare();
	void __fastcall TFrame_Pribor::VID(int TIP);
	void __fastcall TFrame_Pribor::MARKA();
	void __fastcall TFrame_Pribor::MODEL();
	void __fastcall TFrame_Pribor::Tip();
	void __fastcall TFrame_Pribor::ZAPOLNI(int TIP,int KOD_PRIB);
	void __fastcall TFrame_Pribor::Clear();
};
//---------------------------------------------------------------------------
extern PACKAGE TFrame_Pribor *Frame_Pribor;
//---------------------------------------------------------------------------
#endif
